package com.erp.erp_entitys.warehouse.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 仓库管理-其他入库明细表(OtherInStockDetail)实体类
 *
 * @author lst
 * @since 2021-03-24 18:03:27
 */
public class OtherInStockDetailEntity implements Serializable {
    private static final long serialVersionUID = 815639798025867397L;
    /**
    * 主键
    */
    private Integer id;
    /**
    * 其它入库id
    */
    private Integer parentId;
    /**
    * 库存id
    */
    private Integer stockId;
    /**
    * 库存明细id
    */
    private Integer stockDetailId;
    /**
    * 合同类型(1:内销 2:外销 3:待定)
    */
    private Integer contractType;
    /**
    * 产品编码
    */
    private String productCode;
    /**
    * 规格编码
    */
    private String specificationCode;
    /**
    * 规格说明
    */
    private String specificationExplanation;
    /**
    * 客户货号
    */
    private String clientProductNo;
    /**
    * 产品单位
    */
    private String productUnit;
    /**
    * 入库单价
    */
    private BigDecimal instoreUnitPrice;
    /**
    * 金额小计
    */
    private BigDecimal moneySubtotal;
    /**
    * 成本单价
    */
    private BigDecimal productUnitPrice;
    /**
    * 成本小计
    */
    private BigDecimal costAmount;
    /**
    * 参考数量
    */
    private BigDecimal referenceQuantity;
    /**
    * 产品数量
    */
    private BigDecimal productNum;
    /**
    * 补录费用
    */
    private BigDecimal supplementaryEntryFee;
    /**
    * 托盘入数
    */
    private BigDecimal trayNumber;
    /**
    * 总托盘
    */
    private BigDecimal totalTray;
    /**
    * 毛重
    */
    private BigDecimal grossWeight;
    /**
    * 净重
    */
    private BigDecimal netWeight;
    /**
    * 产品中文名称
    */
    private String productCname;
    /**
    * 产品英文名称
    */
    private String productEname;
    /**
    * 产品中文描述
    */
    private String productCdesc;
    /**
    * 产品英文描述
    */
    private String productEdesc;
    /**
    * 采购单号
    */
    private String purchaseNo;
    /**
     * 供应商编码
     */
    private String supplierCode;
    /**
    * 供应商名称
    */
    private String supplierName;
    /**
    * 颜色
    */
    private String color;
    /**
    * 备注
    */
    private String memo;
    /**
    * 仓库编码
    */
    private String warehouseCode;
    /**
    * 仓库名称
    */
    private String warehouseName;
    /**
    * 创建时间
    */
    private Date createDate;
    /**
    * 修改时间
    */
    private Date modifyTime;
    /**
    * 状态(1.草稿箱 2.待批箱 3.已批箱 4.完成箱 5.垃圾箱)
    */
    private Integer status;
    /**
    * 是否有效(0:无效 1:有效)
    */
    private Integer valid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getStockId() {
        return stockId;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    public Integer getStockDetailId() {
        return stockDetailId;
    }

    public void setStockDetailId(Integer stockDetailId) {
        this.stockDetailId = stockDetailId;
    }

    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public String getSpecificationExplanation() {
        return specificationExplanation;
    }

    public void setSpecificationExplanation(String specificationExplanation) {
        this.specificationExplanation = specificationExplanation;
    }

    public String getClientProductNo() {
        return clientProductNo;
    }

    public void setClientProductNo(String clientProductNo) {
        this.clientProductNo = clientProductNo;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public BigDecimal getInstoreUnitPrice() {
        return instoreUnitPrice;
    }

    public void setInstoreUnitPrice(BigDecimal instoreUnitPrice) {
        this.instoreUnitPrice = instoreUnitPrice;
    }

    public BigDecimal getMoneySubtotal() {
        return moneySubtotal;
    }

    public void setMoneySubtotal(BigDecimal moneySubtotal) {
        this.moneySubtotal = moneySubtotal;
    }

    public BigDecimal getProductUnitPrice() {
        return productUnitPrice;
    }

    public void setProductUnitPrice(BigDecimal productUnitPrice) {
        this.productUnitPrice = productUnitPrice;
    }

    public BigDecimal getCostAmount() {
        return costAmount;
    }

    public void setCostAmount(BigDecimal costAmount) {
        this.costAmount = costAmount;
    }

    public BigDecimal getReferenceQuantity() {
        return referenceQuantity;
    }

    public void setReferenceQuantity(BigDecimal referenceQuantity) {
        this.referenceQuantity = referenceQuantity;
    }

    public BigDecimal getProductNum() {
        return productNum;
    }

    public void setProductNum(BigDecimal productNum) {
        this.productNum = productNum;
    }

    public BigDecimal getSupplementaryEntryFee() {
        return supplementaryEntryFee;
    }

    public void setSupplementaryEntryFee(BigDecimal supplementaryEntryFee) {
        this.supplementaryEntryFee = supplementaryEntryFee;
    }

    public BigDecimal getTrayNumber() {
        return trayNumber;
    }

    public void setTrayNumber(BigDecimal trayNumber) {
        this.trayNumber = trayNumber;
    }

    public BigDecimal getTotalTray() {
        return totalTray;
    }

    public void setTotalTray(BigDecimal totalTray) {
        this.totalTray = totalTray;
    }

    public BigDecimal getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(BigDecimal grossWeight) {
        this.grossWeight = grossWeight;
    }

    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }

    public String getProductCname() {
        return productCname;
    }

    public void setProductCname(String productCname) {
        this.productCname = productCname;
    }

    public String getProductEname() {
        return productEname;
    }

    public void setProductEname(String productEname) {
        this.productEname = productEname;
    }

    public String getProductCdesc() {
        return productCdesc;
    }

    public void setProductCdesc(String productCdesc) {
        this.productCdesc = productCdesc;
    }

    public String getProductEdesc() {
        return productEdesc;
    }

    public void setProductEdesc(String productEdesc) {
        this.productEdesc = productEdesc;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }


    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OtherInStockDetailEntity").append('[')
                .append("id=")
                .append(id)
                .append(",parentId=")
                .append(parentId)
                .append(",stockId=")
                .append(stockId)
                .append(",stockDetailId=")
                .append(stockDetailId)
                .append(",contractType=")
                .append(contractType)
                .append(",productCode=")
                .append(productCode)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",specificationExplanation=")
                .append(specificationExplanation)
                .append(",clientProductNo=")
                .append(clientProductNo)
                .append(",productUnit=")
                .append(productUnit)
                .append(",instoreUnitPrice=")
                .append(instoreUnitPrice)
                .append(",moneySubtotal=")
                .append(moneySubtotal)
                .append(",productUnitPrice=")
                .append(productUnitPrice)
                .append(",costAmount=")
                .append(costAmount)
                .append(",referenceQuantity=")
                .append(referenceQuantity)
                .append(",productNum=")
                .append(productNum)
                .append(",supplementaryEntryFee=")
                .append(supplementaryEntryFee)
                .append(",trayNumber=")
                .append(trayNumber)
                .append(",totalTray=")
                .append(totalTray)
                .append(",grossWeight=")
                .append(grossWeight)
                .append(",netWeight=")
                .append(netWeight)
                .append(",productCname=")
                .append(productCname)
                .append(",productEname=")
                .append(productEname)
                .append(",productCdesc=")
                .append(productCdesc)
                .append(",productEdesc=")
                .append(productEdesc)
                .append(",purchaseNo=")
                .append(purchaseNo)
                .append(",supplierCode=")
                .append(supplierCode)
                .append(",supplierName=")
                .append(supplierName)
                .append(",color=")
                .append(color)
                .append(",memo=")
                .append(memo)
                .append(",warehouseCode=")
                .append(warehouseCode)
                .append(",warehouseName=")
                .append(warehouseName)
                .append(",createDate=")
                .append(createDate)
                .append(",modifyTime=")
                .append(modifyTime)
                .append(",status=")
                .append(status)
                .append(",valid=")
                .append(valid)
                .append(']');
        return sb.toString();
    }
}